package com.wanxi.loopfor;

/**
 * 跑圈
 */
public class Circle {
    public static void main(String[] args) {
        /*
        for
        1.初始化语句 int i = 1
        2.判断语句i <= 4
        3.条件语句i++
         */
        int i = 1;
        for (; i <= 4; ) {
            System.out.println("跑圈:第" + i + "圈");
            i++;
        }
        System.out.println(i);
    }
}
